GtkPaned: Update orientation style classes
authorAlexander Larsson <alexl@redhat.com>
Tue, 20 Mar 2012 10:35:39 +0000 (11:35 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 20 Mar 2012 10:35:39 +0000 (11:35 +0100)
gtk/gtkpaned.c

index 16c47c1e1ce829561dbf9d06109f7432c2aaa4a4..f2fbe13dad62cabc40945358e38a19d48e3b0752 100644 (file)
@@ -32,6 +32,7 @@
 #include "gtkorientable.h"
 #include "gtkwindow.h"
 #include "gtktypebuiltins.h"
+#include "gtkorientableprivate.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
 #include "a11y/gtkpanedaccessible.h"
@@ -720,6 +721,7 @@ gtk_paned_set_property (GObject        *object,
     {
     case PROP_ORIENTATION:
       priv->orientation = g_value_get_enum (value);
+      _gtk_orientable_set_style_classes (GTK_ORIENTABLE (paned));
 
       if (priv->orientation == GTK_ORIENTATION_HORIZONTAL)
         priv->cursor_type = GDK_SB_H_DOUBLE_ARROW;